import {request} from '../utils/request.js';

// 用户
const prefix = "/follow"

/**
 * 粉丝列表
 * @param current 页数
 */
export const getFansPaeApi = (current)=>{
	return request("GET",prefix+`/fans/page/${current}`,{},{authorization:true,checktoken:true});
}

/**
 * 互相关注列表
 * @param current 页数
 */
export const getPaeApi = (current)=>{
	return request("GET",prefix+`/page/${current}`,{},{authorization:true,checktoken:true});
}

/**
 * 关注列表
 * @param current 页数
 */
export const getListPaeApi = (current)=>{
	return request("GET",prefix+`/list/page/${current}`,{},{authorization:true,checktoken:true});
}
/**
 * 关注用户
 * @param current 页数
 */
export const setUserApi = (followId)=>{
	return request("POST",prefix+`/${followId}`,{},{authorization:true,checktoken:true});
}
